package aplicacao.movel.coleta.listeners;

import android.view.View;
import android.widget.AdapterView;
import android.widget.AdapterView.OnItemSelectedListener;
import br.usp.fsi.entity.Local;

public class SelecionaLocalListener implements OnItemSelectedListener {
	// TODO botar isso pra funcionar
	Local local;
	public void onItemSelected(AdapterView parent, View view, int pos,
			long id) {
		local = (Local) parent.getSelectedItem();

	}

	public void onNothingSelected(AdapterView arg0) {
	}
	
}